|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /home/matalashes/www/wp-content/plugins/elementor/core/utils/ |
Upload File : |
<?php
namespace Elementor\Core\Utils;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* Elementor exceptions.
*
* Elementor exceptions handler class is responsible for handling exceptions.
*
* @since 2.0.0
*/
class Exceptions {
/**
* HTTP status code for bad request error.
*/
const BAD_REQUEST = 400;
/**
* HTTP status code for unauthorized access error.
*/
const UNAUTHORIZED = 401;
/**
* HTTP status code for forbidden access error.
*/
const FORBIDDEN = 403;
/**
* HTTP status code for resource that could not be found.
*/
const NOT_FOUND = 404;
/**
* HTTP status code for internal server error.
*/
const INTERNAL_SERVER_ERROR = 500;
}